package com.example.play.api

import com.bawei.common.entity.SimpleVideoEntity
import com.example.common.api.BaseApiServer
import com.example.network.BaseResponse
import retrofit2.http.GET
import retrofit2.http.Query

interface PlayServerApi:BaseApiServer {

    @GET("/videosimple/getSimpleVideoByChannelId")
    suspend fun getSimpleVideoByChannelId(@Query("channelId")channelId:String,@Query("page")page:Int,
                                          @Query("pagesize")pagesize:Int):BaseResponse<List<SimpleVideoEntity>>

    @GET("/videosimple/getRecommendSimpleVideo")
    suspend fun getRecommendSimpleVideo(@Query("page")page:Int,
                                        @Query("pagesize")pagesize:Int):BaseResponse<List<SimpleVideoEntity>>

}